﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DataCapture.Helper;


namespace DataCapture
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            if (HslCommunication.Authorization.SetAuthorizationCode("78bbfbf3-8f22-4bb6-a4a5-01f228c43e9e"))
            {
                Log4NetHelper.Info("HSL Auth Success!");
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }
}
